package com.wangyu.springsecuritydemo.service;

import com.wangyu.springsecuritydemo.entity.primary.PermissionEntity;
import java.util.List;

/**
 * 权限服务层
 *
 * @author wangyu
 * @Date 2019/2/19 17:45
 * @Version 1.0
 **/
public interface PermissionService {

  /**
   * 根据权限url查询
   *
   * @param matchUrl url
   */
  List<PermissionEntity> findByResource(String matchUrl);
}
